<template>
  <div class="common-layout">
    <el-container>
      <!-- <el-aside width="200px">Aside</el-aside> -->
      <Aside />
      <el-container>
        <el-header>
            <Header />
        </el-header>
        <el-main>
            <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import Aside from "../components/aside.vue";
import Header from "../components/navHeader.vue"
</script>

<style lang="less" scoped>
// 高度集成父级100%
.common-layout {
  height: 100%;
  display: flex;
  .aside-container {
    height: 100%;
  }
}
</style>
